<?php
declare(strict_types=1);
namespace SixShop\Lakala\Controller\Api;

use SixShop\Core\Request;
use SixShop\Lakala\Service\NotifyService;
use think\facade\Log;
use think\response\Json;
use function SixShop\Core\error_response;
use function SixShop\Core\success_response;

class IndexController
{
    public function notify(NotifyService $notifyService): Json
    {
        $notifyService->notify();
        return json(['code' => 'SUCCESS', 'message' => '执行成功']);
    }
}